RCG Salesforce Marketing System API - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
retrieve-individul-dataextensionSalesforce Data Extension to CIM format mapping
subscribers-create-individualCIM format to Salesforce create Individual request mapping
subscribers-create-subscriberCIM format to Salesforce create subscriber request mapping
subscribers-update-subscriberCIM format to Salesforce update data extension request mapping

retrieve-individul-dataextension

Salesforce Data Extension to CIM format mapping

Source: ./src/main/resources/dwl/retrieve-individul-dataextension.dwl

Mapping Tables

Maps Salesforce Data Extension to CIM format

CIMSalesforce Data ExtensionDescription
partyTypeIndividualHardcoded party type to Individual
PersonNamepersonNameThe full name of the Individual
idSubscriberIdThe subscriber Id
firstNameFirstNameThe Individual first name
lastNameLastNameThe Individual Last name
contactPointTypeContactPointEmailHardcoded contact type to ContactPointEmail
idSubscriberIdThe subscriber Id
activeFromDatetodays dateThe Individual Active from date is hardcoded to todays date
emailAddressEmailAddressThe Individual contact email address
externalIds.idGlobalPartyIdId field is hardcoded as empty string
externalIds.externalIdGlobalPartyIdThe Individual Global Id
externalIds.externalIdTypeMDMThe Global Id of Individual as in MDM that is being stored in Salesforce
externalIds.statusLastChangedDateCreatedDatecreated date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe Individual status is hardcoded as VALID
auditInfo.createdDateCreatedDateThe Individual created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdBycreatedByThe last Individual created by user name
auditInfo.updatedDateupdatedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByUpdatedByThe last modified user name
auditInfo.isDeletedfalsereturns true if user deleted else false

(back to top)

subscribers-create-individual

CIM format to Salesforce create Individual request mapping

Source: ./src/main/resources/dwl/subscribers-create-individual.dwl

Mapping Tables

Maps CIM format to Salesforce data extension Object

Salesforce data extension ObjectCIMDescription
concreteClassTypeDataExtensionObjectHardcoded as DataExtensionObject
nameIndividualHardcoded as Individual
properties.property.nameEmailAddressHardcoded as email address
properties.property.valueemailAddressThe subscriber email
properties.property.nameGlobalPartyIdHardcoded as global party Id
properties.property.valueexternalIdThe external Id matches MDM
properties.property.nameSubscriberIdHardcoded as SubscriberId
properties.property.valueIdThe subscriber Id
properties.property.nameFirstNameHardcoded as FirstName
properties.property.valuefirstNameThe FirstName of the Individual
properties.property.nameLastNameHardcoded as LastName
properties.property.valuelastNameThe LastName of the Individual
properties.property.namePersonNameHardcoded as PersonName
properties.property.valuepersonNameThe Full name of the Individual
properties.property.nameCreatedDateHardcoded as CreatedDate
properties.property.valuetodays dateHardcoded today datetime to "yyyy-MM-dd HH:mm:dd"
properties.property.nameCreatedByHardcoded as CreatedBy
properties.property.valueapp.nameThe application name
properties.property.nameUpdatedDateHardcoded as UpdatedDate
properties.property.valuetodays dateHardcoded today datetime to "yyyy-MM-dd HH:mm:dd"
properties.property.nameUpdatedByHardcoded as UpdatedBy
properties.property.valueapp.nameThe application name

(back to top)

subscribers-create-subscriber

CIM format to Salesforce create subscriber request mapping

Source: ./src/main/resources/dwl/subscribers-create-subscriber.dwl

Mapping Tables

Maps CIM format to Salesforce Marketing Individual subscriber mapping

Salesforce subscriberCIMDescription
CreatedDatetodays date timeThe created date to now
EmailAddressemailAddressThe email address of the subscriber
ModifiedDatetodays date timeThe modified date to "yyyy-MM-dd'T'HH:mm:ssz"
SubscriberKeyemailAddressThe email address of the subscriber

(back to top)

subscribers-update-subscriber

CIM format to Salesforce update data extension request mapping

Source: ./src/main/resources/dwl/subscribers-update-subscriber.dwl

Mapping Tables

Maps CIM format to Salesforce data extension Object

Salesforce data extension ObjectCIMDescription
concreteClassTypeDataExtensionObjectHardcoded as DataExtensionObject
nameIndividualHardcoded as Individual
properties.property.nameEmailAddressHardcoded as email address
properties.property.valueemailAddressThe Individual subscriber email
properties.property.nameGlobalPartyIdHardcoded as global party Id
properties.property.valueexternalIdThe external Id matches MDM
properties.property.nameSubscriberIdHardcoded as SubscriberId
properties.property.valueIdThe subscriber id
properties.property.nameFirstNameHardcoded as FirstName
properties.property.valuefirstNameThe FirstName of the Individual
properties.property.nameLastNameHardcoded as LastName
properties.property.valuelastNameThe LastName of the Individual
properties.property.namePersonNameHardcoded as PersonName
properties.property.valuepersonNameThe Full name of the Individual
properties.property.nameCreatedDateHardcoded as CreatedDate
properties.property.valuetodays dateHardcoded today datetime to "yyyy-MM-dd HH:mm:dd"
properties.property.nameCreatedByHardcoded as CreatedBy
properties.property.valueapp.nameThe application name
properties.property.nameUpdatedDateHardcoded as UpdatedDate
properties.property.valuetodays dateHardcoded today datetime to "yyyy-MM-dd HH:mm:dd"
properties.property.nameUpdatedByHardcoded as UpdatedBy
properties.property.valueapp.nameThe application name

(back to top)


Reviews

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onDec 16, 2023
Asset overview

Asset versions for 3.0.x

Asset versions
VersionActions
3.0.3